package cn.lanqiao.blog.vo;

import java.util.ArrayList;
import java.util.List;

import cn.lanqiao.blog.entity.Comment;

public class CommentVO extends Comment{
	//评论者信息
	private Integer fromUserId;
	private String fromUsername;
	private String fromUserHead;
	//被回复者信息
	private Integer toUserId;
	private String toUsername;
	private String toUserHead;
	 //回复评论
    private List<CommentVO> replyComments = new ArrayList<>();
   
    

	public Integer getFromUserId() {
		return fromUserId;
	}

	public void setFromUserId(Integer fromUserId) {
		this.fromUserId = fromUserId;
	}

	public String getFromUsername() {
		return fromUsername;
	}

	public void setFromUsername(String fromUsername) {
		this.fromUsername = fromUsername;
	}

	public String getFromUserHead() {
		return fromUserHead;
	}

	public void setFromUserHead(String fromUserHead) {
		this.fromUserHead = fromUserHead;
	}

	public Integer getToUserId() {
		return toUserId;
	}

	public void setToUserId(Integer toUserId) {
		this.toUserId = toUserId;
	}

	public String getToUsername() {
		return toUsername;
	}

	public void setToUsername(String toUsername) {
		this.toUsername = toUsername;
	}

	public String getToUserHead() {
		return toUserHead;
	}

	public void setToUserHead(String toUserHead) {
		this.toUserHead = toUserHead;
	}

	public List<CommentVO> getReplyComments() {
		return replyComments;
	}

	public void setReplyComments(List<CommentVO> replyComments) {
		this.replyComments = replyComments;
	}
	
}
